package com.cjl.learn.factory.simpleFactory.pizza;

/**
 * Created by Enzo Cotter on 2019-08-14.
 */
public abstract class Pizza {

    protected String name;

    public abstract void prepare();

    public void bake() {
        System.out.println(name + " pizza正在bake。。。");
    }

    public void cut() {
        System.out.println(name + " pizza正在cut。。。");
    }

    public void box() {
        System.out.println(name + " pizza正在box。。。");
    }


}
